package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound")
public class Sound implements java.io.Serializable {
    private ObjectId id; //主键id
    private Long sid; //自动增长
    private Long created; //创建时间

    private Long userId; //用户id
    private String gender; //性别
    private Integer age; //年龄
    private String soundUrl; //语音文件url
    private String state = "0"; //接受状态 0为未接收 1为已接收
}
